﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.Practices.Unity;
using SISGEZATBZVisual.BusinessEntities;
using SISGEZATBZVisual.Service;

using System.Web.ModelBinding;

namespace SISGEZATBZVisual.Web.Maestros
{
    public partial class Alumnos : System.Web.UI.Page
    {

        [Dependency]
        public IAlumnoService AlumnoService { get; set; }


        protected void Page_Load(object sender, EventArgs e)
        {
           

       
          
        }

        public IEnumerable<Alumno> GetAlumnos([Control("txtNombresAlumno")]string nombreAlumnoOapellido)
        {
            return AlumnoService.GetAlumnos(nombreAlumnoOapellido);

        }

    }
}